/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2018-11-7      SummerGift   first version
 */

#ifndef __DRV_COMMON_H__
#define __DRV_COMMON_H__

#include <FreeRTOS.h>
#include <rtdef.h>
#ifdef RT_USING_DEVICE
#include <device.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif

#define DMA_NOT_AVAILABLE ((DMA_INSTANCE_TYPE *)0xFFFFFFFFU)
void tx_hw_us_delay(rt_uint32_t us);
void rt_hw_board_init(void);
#ifdef __cplusplus
}
#endif

#endif
